import request from "@/utils/request";

// 查询每个点位垃圾总量按照点位分组  可以根据投放日期来查询
export function selectLaunchByPoint(query) {
  return request({
    url: "/system/report/selectLaunchByPoint",
    method: "get",
    params: query,
  });
}

// 报表：根据日期，垃圾 统计某种类型垃圾根据日期的分组的变化
export function selectLaunchByDate(query) {
  return request({
    url: "/system/report/selectLaunchByDate",
    method: "get",
    params: query,
  });
}

// 根据点位和垃圾桶id统计各个垃圾分别的收录重量和容量s
export function selectLaunchByMaterial(query) {
  return request({
    url: "/system/report/selectLaunchByMaterial",
    method: "get",
    params: query,
  });
}

// 各种垃圾类型的投放总量
export function selectLaunchByType(query) {
  return request({
    url: "/system/report/selectLaunchByType",
    method: "get",
    params: query,
  });
}

// 各种垃圾的投放总量
export function selectLaunchByMaterialId(query) {
  return request({
    url: "/system/report/selectLaunchByMaterialId",
    method: "get",
    params: query,
  });
}
